import request from '@/utils/request'

export function fetchList(query) {
  return request({
    url: '/data/battery',
    method: 'get',
    params: query
  })
}

export function getTagInfo() {
  return request({
    url: '/getTagInfo',
    method: 'get',
  })
}

export function sendData(query) {
  return request({
    url: '/test/sendDataTest',
    method: 'get',
    params: query
  })
}
